<script type="text/javascript">
featuredcontentglider.init({
	gliderid: "glidercontent",
	contentclass: "glidecontent",
	togglerid: "togglebox",
	remotecontent: "", 
	selected: 1,
	persiststate: true,
	speed: 300,
	direction: "leftright", 
	autorotate: true, 
	autorotateconfig: [10000, 1] //if auto rotate enabled, set [milliseconds_btw_rotations, cycles_before_stopping]
})
</script>
<div id="glidercontent" class="glidecontentwrapper">
<div id="togglebox" class="glidecontenttoggler"> 
<a href="#" class="prev"></a> 
<a href="#" class="next"></a>
</div>
<?php 
	$glidecat = get_option('gamz_gldcat'); 
	$glidecount = get_option('gamz_gldct'); 
	$my_query = new WP_Query('category_name= '. $glidecat .'&showposts= '. $glidecount . '');
	while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>

<div class="glidecontent">
<div class="glidemeta">
<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
 <?php the_content_rss('', TRUE, '', 40); ?>
</div>
<?php $feature = get_post_meta($post->ID,'feature', true);
if (empty($feature)) {
	$feature = "http://lh4.ggpht.com/_Th1ctZq-HFA/SZpbGoZz9DI/AAAAAAAABaY/-cn0AV5JuM4/s800/star.jpg";
?><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" > <img src="<?php echo ($feature); ?>" width="620" height="220" alt="<?php the_title(); ?>"/> </a>
<?php }else { ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" > <img src="<?php bloginfo('siteurl');?><?php echo ($feature); ?>" width="620" height="220" alt="<?php the_title(); ?>"/> </a>
<?php } ?>
</div>
<?php endwhile; ?>

</div>
<div class="clear"></div>